package com.spider.common.bean.city;

import com.xuxueli.crawler.annotation.PageFieldSelect;
import com.xuxueli.crawler.annotation.PageSelect;
import com.xuxueli.crawler.conf.XxlCrawlerConf;
import lombok.Data;

import java.util.List;

/**
 * @author marver
 * @Description 58房屋分类页面
 * @date 2018/12/17 10:49
 */
@Data
@PageSelect(cssQuery = "body > div.content.clearfix > div.content-col > div.col.col-1 > div.category.house")
public class WbHouseVo {
    @PageFieldSelect(cssQuery = "h3>a")
    private String categoryOne;
    @PageFieldSelect(cssQuery = "div > a,div > span > a")
    private List<String> categoryTwo;
    @PageFieldSelect(cssQuery = "div > a,div > span > a", selectType = XxlCrawlerConf.SelectType.ATTR, selectVal = "abs:href")
    private List<String> url;
}
